python-pcre2 (0.4.0+ds-1+rpi1) trixie-staging; urgency=medium
authorPeter Michael Green <plugwash@raspbian.org>
Wed, 12 Feb 2025 00:58:32 +0000 (00:58 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 12 Feb 2025 00:58:32 +0000 (00:58 +0000)
  * Disable testsuite.

[dgit import unpatched python-pcre2 0.4.0+ds-1+rpi1]

1  2 
debian/changelog
debian/control
debian/copyright
debian/lintian-overrides
debian/patches/packaged_libpcre2
debian/patches/series
debian/rules
debian/salsa-ci.yml
debian/source/format
debian/upstream/metadata
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..087595ca73a0dc0734080269371d8d5777e6ffcd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,27 @@@
++python-pcre2 (0.4.0+ds-1+rpi1) trixie-staging; urgency=medium
++
++  * Disable testsuite.
++
++ -- Peter Michael Green <plugwash@raspbian.org>  Wed, 12 Feb 2025 00:58:32 +0000
++
++python-pcre2 (0.4.0+ds-1) unstable; urgency=medium
++
++  * New upstream version
++  * Standards-Version: 4.7.0 (routine-update)
++  * Set upstream metadata fields: Bug-Submit.
++  * Skip the JIT tests on armel. Closes: #1087722
++
++ -- Michael R. Crusoe <crusoe@debian.org>  Tue, 19 Nov 2024 12:44:45 +0100
++
++python-pcre2 (0.3.0+ds-1) unstable; urgency=medium
++
++  * New upstream version
++  * Remove trailing whitespace in debian/copyright (routine-update)
++
++ -- Michael R. Crusoe <crusoe@debian.org>  Thu, 14 Sep 2023 09:37:23 +0200
++
++python-pcre2 (0.2.0+ds-1) unstable; urgency=medium
++
++  * Initial release. (Closes: #1051798)
++
++ -- Michael R. Crusoe <crusoe@debian.org>  Mon, 11 Sep 2023 15:01:03 +0200
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fa092ad1d3e5336fffd97e2d00ff5e6f35021ecc
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,31 @@@
++Source: python-pcre2
++Section: python
++Priority: optional
++Maintainer: Debian Python Team <team+python@tracker.debian.org>
++Uploaders: Michael R. Crusoe <crusoe@debian.org>
++Build-Depends: debhelper-compat (= 13),
++               dh-sequence-python3,
++               python3-all-dev,
++               python3-setuptools,
++               python3-skbuild,
++               ninja-build,
++               pybuild-plugin-pyproject,
++               cython3,
++               libpcre2-dev,
++               python3-pytest <!nocheck>
++Standards-Version: 4.7.0
++Vcs-Browser: https://salsa.debian.org/crusoe/python-pcre2
++Vcs-Git: https://salsa.debian.org/crusoe/python-pcre2.git
++Homepage: https://github.com/grtetrault/pcre2.py
++Rules-Requires-Root: no
++Testsuite: autopkgtest-pkg-pybuild
++
++Package: python3-pcre2
++Architecture: any
++Depends: ${misc:Depends}, ${shlibs:Depends}, ${python3:Depends}
++Description: Python bindings for the PCRE2 regular expression library
++ This package contains Python bindings for PCRE2. PCRE2 is the revised API for
++ the Perl-compatible regular expressions (PCRE) library created by Philip Hazel.
++ .
++ For original source code, see the official PCRE2 repository:
++ https://github.com/PCRE2Project/pcre2
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..22247ee5b6f545b291506b2ed15905534b694e58
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,38 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: PCRE2.py
++Source: https://github.com/grtetrault/pcre2.py
++Files-Excluded:  src/libpcre2/
++
++Files: *
++Copyright: 2022 grtetrault
++License: BSD-3-clause
++
++Files: debian/*
++Copyright: 2023 Michael R. Crusoe <crusoe@debian.org>
++License: BSD-3-clause
++
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions are met:
++ .
++ 1. Redistributions of source code must retain the above copyright notice, this
++    list of conditions and the following disclaimer.
++ .
++ 2. Redistributions in binary form must reproduce the above copyright notice,
++    this list of conditions and the following disclaimer in the documentation
++    and/or other materials provided with the distribution.
++ .
++ 3. Neither the name of the copyright holder nor the names of its
++    contributors may be used to endorse or promote products derived from
++    this software without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
++ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
++ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
++ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
++ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
++ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..97e53d68eb5dde83be0d042aaf13d5429c648479
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++# see https://lists.debian.org/debian-med/2018/06/msg00043.html
++#PKGNAME#: script-with-language-extension
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e0a3875dc06dde080cbddae5eaa2128eeac5356b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,46 @@@
++Author: Michael R. Crusoe <crusoe@debian.org>
++Description: Link against the packaged version of libpcre2
++
++Instead of the code copy.
++
++--- python-pcre2.orig/CMakeLists.txt
+++++ python-pcre2/CMakeLists.txt
++@@ -5,7 +5,7 @@
++ 
++ set(CMAKE_C_STANDARD 99)
++ 
++-set(PCRE2_INCLUDE_DIR ${CMAKE_BINARY_DIR}/src/libpcre2)
+++set(PCRE2_INCLUDE_DIR /usr/include)
++ set(CYTHON_EXTRA_COMPILE_ARGS -DPCRE2_CODE_UNIT_WIDTH=8 -fPIC)
++ 
++ # Set PCRE2 options.
++@@ -15,11 +15,6 @@
++ # Always make a release build.
++ set(CMAKE_BUILD_TYPE Release)
++ 
++-# Build PCRE2 library as both shared and static.
++-set(BUILD_STATIC_LIBS ON)
++-set(BUILD_SHARED_LIBS ON)
++-add_subdirectory(src/libpcre2)
++-
++ # Build Cython code as shared.
++ set(BUILD_STATIC_LIBS OFF)
++ set(BUILD_SHARED_LIBS ON)
++--- python-pcre2.orig/src/pcre2/CMakeLists.txt
+++++ python-pcre2/src/pcre2/CMakeLists.txt
++@@ -12,7 +12,7 @@
++     add_library(${filename} MODULE ${filename})
++     python_extension_module(${filename})
++ 
++-    target_link_libraries(${filename} pcre2-8-static)
+++    target_link_libraries(${filename} pcre2-8)
++     target_include_directories(${filename} PRIVATE ${PCRE2_INCLUDE_DIR})
++     target_compile_options(${filename} PRIVATE ${CYTHON_EXTRA_COMPILE_ARGS})
++     
++@@ -50,4 +50,4 @@
++         utils.pyx
++     DESTINATION
++         src/pcre2
++-)
++\ No newline at end of file
+++)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4d7c4b6388834f47225515e52307ef8233d6c1af
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++packaged_libpcre2
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9fc583b0ff7955179c9fb65dda4915bd5f08d342
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,20 @@@
++#!/usr/bin/make -f
++
++# DH_VERBOSE := 1
++
++export LC_ALL=C.UTF-8
++
++include /usr/share/dpkg/architecture.mk
++
++ifeq ($(DEB_HOST_ARCH),armel)
++export PYBUILD_TEST_ARGS=-k 'not (test_pattern_jit)'
++endif
++
++%:
++      dh $@ --buildsystem=pybuild
++
++override_dh_auto_clean:
++      dh_auto_clean || true
++
++override_dh_auto_test:
++      echo testsuite disabled
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c28a5a76d08cf6becbcec800f1e3d7e1ea51cdbd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++# See https://salsa.debian.org/salsa-ci-team/pipeline/#basic-use
++---
++include:
++  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml
++
++# To exclude single tests you can use
++#variables:
++#  SALSA_CI_DISABLE_APTLY: 1
++#  SALSA_CI_DISABLE_AUTOPKGTEST: 1
++#  SALSA_CI_DISABLE_BLHC: 1
++#  SALSA_CI_DISABLE_LINTIAN: 1
++#  SALSA_CI_DISABLE_PIUPARTS: 1
++#  SALSA_CI_DISABLE_REPROTEST: 1
++#  SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
++#  SALSA_CI_DISABLE_BUILD_PACKAGE_ANY: 1
++# In case for instance i386 is explicitly excluded by Build-Depends
++#  SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..af6f7d43998e649d94b952405e137c1aadeeb266
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++Repository: https://github.com/grtetrault/pcre2.py.git
++Repository-Browse: https://github.com/grtetrault/pcre2.py
++Bug-Database: https://github.com/grtetrault/pcre2.py/issues
++Bug-Submit: https://github.com/grtetrault/pcre2.py/issues/new
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8fe18ee53ec9d6089ec4032048113ea2f3a3f99e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++version=4
++opts=uversionmangle=s/(rc|a|b|c)/~$1/,repacksuffix=+ds,repack,dversionmangle=auto \
++https://pypi.debian.net/pcre2/pcre2-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))